#ifndef MEMBERTYPE_H
#define MEMBERTYPE_H

#include "string"
#include <iostream>

using namespace std;

class MemberType
{
public:
    MemberType(): firstName(""), lastName(""), membershipNumber(0) {}
    MemberType(
            const string &firstName,
            const string &lastName,
            int membershipNumber):
        firstName(firstName),
        lastName(lastName),
        membershipNumber(membershipNumber) {}

    void setMemberInfo(
            const string &firstName,
            const string &lastName,
            int membershipNumber);

    string getFirstName() const;
    string getLastName() const;
    int getMembershipNo() const;

    void printName() const;
    void printMemberInfo() const;

    ~MemberType() {};

private:
    string firstName;
    string lastName;
    int membershipNumber;
};

#endif
